package po.userPO;

import java.io.Serializable;


public abstract class UserPO implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected String id;
	protected String name;
	protected String password;
	public static final int STUDENT=0,TEACHER=1,DEPARTMENTDEAN=2,UNIVERSITYDEAN=3,ADMINISTRATOR=4;
	protected int userType;

	
	public UserPO(String id,String name, String password,int userType) {
		this.id = id;
		this.name=name;
		
		this.password = password;
		this.userType=userType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}
	
	
}
